import SingleLinkedList.MySingleLinkedList;

public class Test {
    public static void main(String[] args) {
        MySingleLinkedList<Integer> singleLinkedList = new MySingleLinkedList<>();
        singleLinkedList.addFirst(19);
        singleLinkedList.addLast(29);
        singleLinkedList.addLast(45);
        singleLinkedList.addLast(78);
        singleLinkedList.addIndex(2,19);
        singleLinkedList.display();
        System.out.println();
        singleLinkedList.remove(19);
        singleLinkedList.display();
        System.out.println();
    }
}
